package com.touzbi.hss.dao;

import java.util.List;

import com.touzbi.hss.beans.Patient;
import com.touzbi.hss.beans.Soin;

public interface AbstractPatientDAO {
	public void addPatient(Patient patient);

	public void addSoin(Soin soin, Patient patient);

	public List<Patient> getQueryResult(String query) throws DAOException;

	public List<Patient> getPatientList() throws DAOException;

	public List<Patient> getPatientList(int idStart, int count)
			throws DAOException;

	public Patient getPatientById(long id) throws DAOException;

	public long getPatientCount();

	public List<Patient> getQueryResult(String query, int idStart, int count)
			throws DAOException;

	long getPatientCount(String query);

}
